Elevator = class('Elevator', Feature)

function Elevator:initialize(x, y, destination)	

	Feature.initialize(self, "elevator", metal_door_closed_img, x, y)
	self.dest = destination or 'Menu'

end

function Elevator:use()

	gs:gotoState(self.dest)

end
